package com.ld.admin.model.timedtask;

import com.ld.shieldsb.annotation.field.db.ColumnName;
import com.ld.shieldsb.annotation.field.db.OnlyShow;
import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;
import com.ld.shieldsb.common.web.model.BasicIdEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * 定时任务(sys_timedtask)
 * 
 * @ClassName SysTimedtaskModel
 * @author <a href="mailto:donggongai@126.com" target="_blank">吕凯</a>
 * @date 2019年01月04日 14:29:47
 *
 */
@Model(name = "定时任务")
@TableName("sys_timedtask")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SysTimedtaskModel extends BasicIdEntity {
    private static final long serialVersionUID = -7140576419459259712L;

    /*任务名称*/
    private String jobName;
    /*分组名称,未使用*/
    private String jobGroupName;
    /*触发器名称,未使用*/
    private String triggerName;
    /*触发器分组名称,未使用*/
    private String triggerGroupName;
    /*类名*/
    private String className;
    /*job标识*/
    private String jobId;
    /*附加数据*/
    private String datas;
    /*cron表达式*/
    @ColumnName("cron_expression")
    private String cronExpression;
    /*备注*/
    private String remarks;
    /*是否启用*/
    private Integer isStart;
    /*创建人姓名*/
    private String createName;
    /*修改人姓名*/
    private String updateName;
    @OnlyShow
    private Integer taskState; // 任务状态
}
